Operation void setName (String name), in Class Thread

Documentation

* Changes the name of this thread to be equal to the argument
* <code>name</code>.
* <p>
* First the <code>checkAccess</code> method of this thread is called
* with no arguments. This may result in throwing a
* <code>SecurityException</code>.
*
* @param name the new name for this thread.
* @exception SecurityException if the current thread cannot modify this
* thread.
* @see java.lang.Thread#checkAccess()
* @see java.lang.Thread#getName()
* @since JDK1.0


ConcurrencySequentialExport ControlPublicAccess



Property Settings

Java
FinalTrueAbstractFalse
StaticFalseNativeFalse
SynchronizedFalse